package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;


public interface RegistContract {
    public interface View extends BaseView {
        public void onError(String errorMsg);
        public void onRegistError(String errorMsg);
        public void onCodeSuccess(String code);
        public void onRegistSuccess();
    }

    public interface Presenter extends BasePresenter {
        public void regist(
                String loginName ,
                String password ,
                String name ,
                String mobile
        );

        public void userMsg(
                String mobile
        );
    }
}
